package org.hawk.gwtppc.webtest.tests.fieldsuite;

import org.hawk.gwtppc.webtest.common.Asserts;
import org.hawk.gwtppc.webtest.common.Test;
import org.hawk.gwtppc.webtest.tests.mock.EnumMock;
import org.hawk.gwtppc.webtest.tests.mock.SubClassMock1;

public class IsEnumConstantTest implements Test {

	public void run() throws Throwable {
		Asserts.assertFalse(SubClassMock1.class.getDeclaredField("serialVersionUID").isEnumConstant());
		Asserts.assertFalse(SubClassMock1.class.getDeclaredField("staticString").isEnumConstant());
		Asserts.assertFalse(SubClassMock1.class.getDeclaredField("parent").isEnumConstant());
		Asserts.assertFalse(SubClassMock1.class.getDeclaredField("flag").isEnumConstant());
		Asserts.assertFalse(EnumMock.class.getField("ALPHA").isEnumConstant());
	}

	public String getName() {
		return "isEnumConstant()";
	}

}
